using System;
using System.Collections.Generic;
using ns26;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("MusicConfig")]
	public class MusicConfig : MonoBehaviour
	{
		public List<MusicPlaylist> m_playlists => method_3<Class271<MusicPlaylist>>("m_playlists")?.method_25();

		public MusicConfig(IntPtr address, string className)
			: base(address, className)
		{
		}

		public MusicConfig(IntPtr address)
			: this(address, "MusicConfig")
		{
		}

		public static MusicConfig Get()
		{
			return MonoClass.smethod_15<MusicConfig>(TritonHs.MainAssemblyPath, "", "MusicConfig", "Get", Array.Empty<object>());
		}

		public void Awake()
		{
			method_8("Awake");
		}

		public void OnDestroy()
		{
			method_8("OnDestroy");
		}

		public MusicPlaylist GetPlaylist(MusicPlaylistType type)
		{
			return method_14<MusicPlaylist>("GetPlaylist", new object[1] { type });
		}

		public MusicPlaylist FindPlaylist(MusicPlaylistType type)
		{
			return method_14<MusicPlaylist>("FindPlaylist", new object[1] { type });
		}
	}
}
